package priv.ln._interface.exer;

/**
 * ClassName: ElectricVehicle
 * Package: priv.ln._interface.exer
 * Description:
 *
 * @Author 辣辣
 * @Create 2024/7/9 18:58
 * @Version 1.0
 */
public class ElectricVehicle extends Vehicle implements IPower{

    public ElectricVehicle() {
    }

    public ElectricVehicle(String brand, String color) {
        super(brand, color);
    }

    @Override
    public void run() {
        System.out.println("骑电动车上班");
    }

    @Override
    public void power() {
        System.out.println("电动车增加动力的方式是充电");
    }
}
